package com.woniu.mashangxiadan.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dish")
public class Dish implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜品id
     */
    @TableId(value = "dish_id", type = IdType.AUTO)
    private Integer dishId;

    /**
     * 菜品名
     */
    private String dishName;

    /**
     * 价格
     */
    private Double dishPrice;

    /**
     * 分类id
     */
    private Integer dishTypeId;

    /**
     * 餐厅id
     */
    private Integer restaurantId;

    /**
     * 菜品状态
     */
    private String dishStatus;

    /**
     * 销量
     */
    private Integer saleNum;

    /**
     * 菜品图片地址
     */
    private String dishImgUrl;


}
